package com.seele.tigerwallet.model;


import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

@DatabaseTable(tableName = "t_market")
public class MarketModel implements Serializable {

    @DatabaseField(columnName = "symbol")
    public String symbol;

//    @DatabaseField(id = true, canBeNull = false, columnName = "id")

    @DatabaseField(generatedId = true, columnName = "id")
    private int _id;

    @DatabaseField(columnName = "price",defaultValue = "0")
    public String price;

    @DatabaseField(columnName = "change")
    public String change;

    @DatabaseField(unique = true, columnName = "tokenId")
    public int id;

    @DatabaseField(columnName = "isOpen")
    public boolean isOpen;

    @DatabaseField(columnName = "position")
    public int position;

    @DatabaseField(columnName = "rank")
    public int rank;




}
